# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

import scrapy

class hotelItem(scrapy.Item):
    name = scrapy.Field()
    area = scrapy.Field()
    cover = scrapy.Field()
    worktime = scrapy.Field()
    tel = scrapy.Field()
    address = scrapy.Field()
    # goto = scrapy.Field()
    # cate = scrapy.Field()
    desc = scrapy.Field()
    level = scrapy.Field()
    price = scrapy.Field()
    date = scrapy.Field()
    url = scrapy.Field()
    def __str__(self):
        return "hotel"


class roomItem(scrapy.Item):
    url = scrapy.Field()
    hotelUrl = scrapy.Field()
    cover = scrapy.Field()
    workTime = scrapy.Field()
    desc = scrapy.Field()
    name = scrapy.Field()
    date = scrapy.Field()
    cost = scrapy.Field()
    def __str__(self):
        return "room"

class areaItem(scrapy.Item):
    tid = scrapy.Field()
    name = scrapy.Field()
    url = scrapy.Field()
    def __str__(self):
        return "area"




